package sample;

public class Theme {
    private int id;
    private String name;
    private String description;
    private String factory;
    private String author;
    private String preview;
    private String schemeFile;
    private String uploader;
    private int status;

    public Theme() {
    }

    public Theme(int id, String name,String preview) {
        this.id = id;
        this.name = name;
        this.preview = preview;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public String getSchemeFile() {
        return schemeFile;
    }

    public void setSchemeFile(String schemeFile) {
        this.schemeFile = schemeFile;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Theme(String name, String description, String factory, String author, String preview, String schemeFile, String uploader, int status) {
        this.name = name;
        this.description = description;
        this.factory = factory;
        this.author = author;
        this.preview = preview;
        this.schemeFile = schemeFile;
        this.uploader = uploader;
        this.status = status;
    }

    @Override
    public String toString() {
        return "Theme{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", factory='" + factory + '\'' +
                ", author='" + author + '\'' +
                ", preview='" + preview + '\'' +
                ", schemeFile='" + schemeFile + '\'' +
                ", uploader='" + uploader + '\'' +
                ", status=" + status +
                '}';
    }
}
